package com.kws.system.domain.contractManagementDao.info;

import cn.hutool.core.date.DatePattern;
import cn.hutool.core.date.DateUtil;
import io.swagger.annotations.ApiModelProperty;

import java.util.Date;

/**
 * <b>QueryContractTemplateInfo</b>
 *
 * @description: QueryContractTemplateInfo <br>
 * @date: 2024/11/18 13:54 <br>
 * @author: lhm <br>
 * @version: 1.0 <br>
 */
public class QueryContractTemplateInfo {
    @ApiModelProperty(value = "主键ID")
    private Long id;

    @ApiModelProperty(value = "模板名称")
    private String name;

    @ApiModelProperty(value = "合同类型")
    private Integer type;

    @ApiModelProperty(value = "文件地址")
    private String file;

    @ApiModelProperty(value = "创建用户")
    private String createUser;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getFile() {
        return file;
    }

    public void setFile(String file) {
        this.file = file;
    }

    public String getCreateUser() {
        return createUser;
    }

    public void setCreateUser(String createUser) {
        this.createUser = createUser;
    }

    public String getCreateTime() {
        return DateUtil.format(createTime, DatePattern.NORM_DATETIME_FORMATTER);
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
}
